package com.atguigu.day02;

public class Test3 {

    public static void main(String[] args) {
        char ch = 'J';
        System.out.println((char) (ch + (97 - 65)));//j
        char ch2 = 'a';
        ch2 -= 32;
        System.out.println((char) (ch2));//A
        double d3 = 3.14;
        int i3 = 6;
        double sum3 = d3 + i3;
        System.out.println("sum3的值:" + sum3);//9.14
        System.out.println("sum3的整数部分的值:" + (int) sum3);//9
        double d4 = 4.0;
        int i4 = 435;
        int mul4 = (int) (d4 * i4);
        System.out.println("mule4的整数部分值" + mul4);//1740
    }
}
